package com.example.mapper;
import com.example.pojo.AcctRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 账号角色表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-03-27
 */
@Mapper
@Repository
public interface AcctRoleMapper extends BaseMapper<AcctRole> {

    int selectA();
    /**
     * 添加账户角色
     * @param accountId
     * @param rIds
     * @return
     */
    int addAcctRoles(@Param("accountId") Integer accountId,@Param("rIds") List<Integer> rIds);
}
